<template>
  <div class="downLoad">
    <div class="banner">
      <div class="box">
        <h3>下载中心</h3>
        <p>提供开发工具、相关驱动和常用辅助工具，达到开发人员与平台开发工具 高度统一，从而减少版本存在差异的问题</p>
      </div>
    </div>
    <div class="content">
      <el-tabs :tab-position="tabPosition" style="height: 540px">
        <el-tab-pane label="JAVA SDK" class="tab-pane">
          <el-row>
            <el-col :md="18">
              <h5>V2.0</h5>
              <ul>
                <li>1. 个人提前认证页面，以及个人认证信息查询接口上线；</li>
                <li>2. 合同签署页面支持公司接收方签署公章；</li>
                <li>3. 合同预览页面接口上线；</li>
              </ul>
            </el-col>
            <el-col :md="6">
              <span class="time">2020-04-02 10:44:26</span>
            </el-col>
            <el-col :md="18">
              <el-button type="success">登陆后下载</el-button>
            </el-col>
            <el-col :md="6" style="text-align: right">
              <img src="@/assets/images/download/down-java.png" alt="Img" />
            </el-col>
          </el-row>
          <hr />
          <el-row>
            <el-col :md="18">
              <h5>V1.0</h5>
              <ul>
                <li>大众签章开放平台 V1.0 SDK 发布了！</li>
              </ul>
            </el-col>
            <el-col :md="6">
              <span class="time">2020-02-28 17:04:39</span>
            </el-col>
            <el-col :md="18">
              <el-button type="success">登陆后下载</el-button>
            </el-col>
            <el-col :md="6" style="text-align: right">
              <img src="@/assets/images/download/down-java.png" alt="Img" />
            </el-col>
          </el-row>
        </el-tab-pane>
        <el-tab-pane label="JS SDK" class="tab-pane">
          <el-row>
            <el-col :md="18">
              <h5>V3.0</h5>
              <ul>
                <li>1. 个人提前认证页面，以及个人认证信息查询接口上线；</li>
                <li>2. 合同签署页面支持公司接收方签署公章；</li>
                <li>3. 合同预览页面接口上线；</li>
              </ul>
            </el-col>
            <el-col :md="6">
              <span class="time">2020-04-02 10:44:26</span>
            </el-col>
            <el-col :md="18">
              <el-button type="success">登陆后下载</el-button>
            </el-col>
            <el-col :md="6" style="text-align: right">
              <img src="@/assets/images/download/down-java.png" alt="Img" />
            </el-col>
          </el-row>
          <hr />
          <el-row>
            <el-col :md="18">
              <h5>V3.0</h5>
              <ul>
                <li>大众签章开放平台 V1.0 SDK 发布了！</li>
              </ul>
            </el-col>
            <el-col :md="6">
              <span class="time">2020-02-28 17:04:39</span>
            </el-col>
            <el-col :md="18">
              <el-button type="success">登陆后下载</el-button>
            </el-col>
            <el-col :md="6" style="text-align: right">
              <img src="@/assets/images/download/down-java.png" alt="Img" />
            </el-col>
          </el-row>
        </el-tab-pane>
      </el-tabs>
    </div>
    <common-footer></common-footer>
  </div>
</template>

<script>
import commonFooter from '../../common/commonFooter'
export default {
  name: '',
  components: {
    commonFooter
  },
  data() {
    return {
      tabPosition: 'left'
    }
  }
}
</script>

<style lang="scss" scoped>
@import '~@/assets/css/common.scss';
.downLoad {
  .banner {
    background: url('~@/assets/images/download/down.png') no-repeat;
    background-size: cover;
    width: 100%;
    height: 284px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 39px;
    .box {
      width: 813px;
      margin: 0 auto;
      color: #fff;
      h3 {
        font-size: 32px;
        font-weight: 500;
        letter-spacing: 2px;
        margin-bottom: 20px;
      }
      p {
        width: 460px;
        color: #818591;
        line-height: 28px;
        font-size: 18px;
      }
    }
  }
  .content {
    width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
    .tab-pane {
      margin: 41px 0 0 60px;
      h5 {
        font-size: 28px;
        font-weight: 500;
        color: #333333;
        letter-spacing: 1px;
        margin-bottom: 20px;
      }
      ul {
        li {
          font-size: 18px;
          color: #666666;
          letter-spacing: 1px;
          margin-bottom: 10px;
        }
      }
      .time {
        font-size: 16px;
        color: #666666;
        letter-spacing: 1px;
      }
      img {
        width: 68px;
        height: 68px;
      }
    }
    hr {
      border-top: 1px solid #d8d8d8;
      margin: 36px 0;
    }
    /deep/.el-tabs__nav {
      padding-top: 40px;
    }
    /deep/.el-tabs--left .el-tabs__active-bar.is-left,
    .el-tabs--left .el-tabs__nav-wrap.is-left::after {
      top: 50px;
    }
    /deep/.el-tabs__active-bar {
      height: 22px !important;
      border: 2px solid $background;
      border-top-left-radius: 10px;
      -webkit-border-top-left-radius: 10px; /* Safari */
      border-bottom-left-radius: 10px;
      -webkit-border-bottom-left-radius: 10px; /* Safari */
    }
    /deep/.el-tabs__item.is-active {
      color: $background;
      font-size: 18px;
    }
    /deep/.el-tabs__item {
      color: #666666;
      font-size: 18px;
    }
    /deep/.el-button--success {
      background: $background;
      padding: 11px 31px;
      font-size: 18px;
      margin-top: 30px;
    }
  }
}
</style>
